package com.ruoyi.intelligence.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备列表对象 sys_equipment
 * 
 * @author ruoyi
 * @date 2020-08-26
 */
public class SysEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long equipmentId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufactor;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 采购价格 */
    @Excel(name = "采购价格")
    private BigDecimal purchase;

    /** 维修价格 */
    @Excel(name = "维修价格")
    private BigDecimal repair;

    public void setEquipmentId(Long equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId() 
    {
        return equipmentId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setManufactor(String manufactor) 
    {
        this.manufactor = manufactor;
    }

    public String getManufactor() 
    {
        return manufactor;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setPurchase(BigDecimal purchase) 
    {
        this.purchase = purchase;
    }

    public BigDecimal getPurchase() 
    {
        return purchase;
    }
    public void setRepair(BigDecimal repair) 
    {
        this.repair = repair;
    }

    public BigDecimal getRepair() 
    {
        return repair;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("projectId", getProjectId())
            .append("name", getName())
            .append("manufactor", getManufactor())
            .append("model", getModel())
            .append("purchase", getPurchase())
            .append("repair", getRepair())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
